package com.test.service;

import com.test.entity.Book;
import org.apache.ibatis.annotations.Param;

public interface BookService {
    Book getBookById(@Param("bid") int bid);

    boolean setRemain(int big, @Param("count") int count);

    int getRemain(@Param("bid") int bid);
}
